<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .pagination {
            position: relative;
            padding: 5px 0px;
            text-align: center;
            overflow: hidden;
        }
        .pagination li{
            display: inline-block;
            height: 28px;
            line-height: 28px;
            padding: 0px 10px;
            margin: 0px 2px;
            font-weight: bold;
            color: #333333;
            border: 1px solid #dddddd;
            text-decoration: none;
        }
        .pagination .active{
            color: #ffffff;
            border: 1px solid #720808;
            background-color: #720808;
            text-decoration: none;
        }
        .pagination .disabled{
            color: #aaaaaa;
        }
    </style>
</head>
<body>
    <table border="1">
        <tr>
            <th>经纬度</th>
            <th>地址</th>
            <th>http_user_agent</th>
            <th>添加时间</th>
        </tr>
        {foreach $location as $_location}
        <tr>
            <td>{$_location.lng}-{$_location.lat}</td>
            <td>{$_location.addresses}</td>
            <td>{$_location.http_user_agent}</td>
            <td>{$_location.created_at}</td>
        </tr>
        {/foreach}
    </table>
{$page|raw}
</body>
</html>